package team.nmsg.ge.system.bean;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;

import com.alibaba.fastjson.JSONObject;

import team.nmsg.ge.system.interf.ISysBean;


/**
 * 服务器启动 状态记录
 * @author Guodeqi
 *
 */
@Entity
@Table( uniqueConstraints={@UniqueConstraint(columnNames={"skey"})  }  )
public class NPSServerStatus implements ISysBean{

	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	private Long id;

	private String skey;
	
	private String svalue;
	
	private String standby1;
	
	private String standby2;
	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getSkey() {
		return skey;
	}

	public void setSkey(String skey) {
		this.skey = skey;
	}

	public String getSvalue() {
		return svalue;
	}

	public void setSvalue(String svalue) {
		this.svalue = svalue;
	}

	public String getStandby1() {
		return standby1;
	}

	public void setStandby1(String standby1) {
		this.standby1 = standby1;
	}

	public String getStandby2() {
		return standby2;
	}

	public void setStandby2(String standby2) {
		this.standby2 = standby2;
	}

	@Override
	public JSONObject toJson() {
		
		return null;
	}
	
}
